package com.quickd.service.dto.wms;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.quickd.core.annotation.DictAno;
import com.quickd.core.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 货物流水
 *
 * @author quickd quickd@dacanginfo.com
 * @since 2019-10-07
 */
@Data
@ApiModel(value = "货物流水")
public class FlowDTO extends BaseDto {

    @ApiModelProperty(value = "类型")
    @Excel(name = "类型")
    @DictAno(dicCode = "form_type")
    private Integer type;

    @ApiModelProperty(value = "单据号")
    @Excel(name = "单据号")
    private String formId;

    @ApiModelProperty(value = "入库仓库号")
    @Excel(name = "入库仓库号")
    private String inStorage;

    @ApiModelProperty(value = "盘点仓库")
    @Excel(name = "盘点仓库")
    private String miStorage;

    @ApiModelProperty(value = "出库仓库号")
    @Excel(name = "出库仓库号")
    private String outStorage;

    @ApiModelProperty(value = "货号")
    @Excel(name = "货号")
    private String materialId;

    @ApiModelProperty(value = "货物名称")
    @Excel(name = "货物名称")
    private String materialName;

    @ApiModelProperty(value = "变动数量")
    @Excel(name = "变动数量")
    private Double quantity;

    @ApiModelProperty(value = "作业人")
    @Excel(name = "作业人")
    private String worker;

    @ApiModelProperty(value = "操作人")
    @Excel(name = "操作人")
    private String operator;
}